package com.itheima.health.dao;

import com.itheima.health.pojo.Order;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface OrderDao {

    List<Order> findOrderByCondition(Order order);

    void add(Order order);

    Map<String, Object> findById(Integer id);

    Integer getTodayOrderNumber(String today);

    Integer getTodayVisitsNumber(String today);

    Integer getThisOrderNumber(Map<String, String> map);

    Integer getThisVisitsNumber(Map<String, String> map);

    List<Map<String, Object>> getHotSetmeal();
}
